﻿using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;

namespace YOLO4DMF {
    static class Program {
        [DllImport("kernel32.dll")]
        public static extern bool AllocConsole();
        [DllImport("kernel32.dll")]
        static extern bool FreeConsole();

        [STAThread]
        static void Main() {
            AllocConsole();
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
            FreeConsole();
        }
    }
}
